//
//  SCAlertHUD.h
//  SCFoundationKit
//
//  Created by Chao Sheng on 2023/10/31.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SCAlertHUD : NSObject

+ (instancetype)share;

/// 加载中
- (void)showLoadingText:(NSString*)text;

/// 成功
- (void)showSuccessWithMessage:(NSString*)message;

/// 失败
- (void)showFailureWithMessage:(NSString*)message;

/// 提醒
- (void)showWarnWithMessage:(NSString*)message;

/// 显示文字
- (void)showMessage:(NSString*)message;

/// 展示hud，自定义文字和图片
- (void)showHudWithMessage:(NSString*)message Image:(UIImage* __nullable)image;

/// 隐藏
- (void)hide;

/// 隐藏延时时间
@property (nonatomic, assign) CGFloat delayDuration;

@end

NS_ASSUME_NONNULL_END
